<div class="header">
    <back-Btn></back-Btn>
    群成员
    <div class="right-btn" ng-click="groupusers.showMore()" ng-show="groupusers.userId==curUID">
        <div class="cross_icon"></div>
    </div>
    <div class="showMore lh30 fs14" ng-show="groupusers.isShowMore">
        <ul>
            <li ng-click="groupusers.addUsers()">添加成员</li>
            <li ng-click="groupusers.removeUsers()">{{groupusers.showdel?"完成":"移除成员"}}</li>
        </ul>
    </div>
</div>
<div class="container" ng-touchstart="groupusers.hidemore()">
    <div class="people-list" ng-class="{showdel:groupusers.showdel}">
        <div ng-repeat="dep in groupusers.peoplelist|filter:groupusers.search track by dep.id">
            <p class="list-item">{{dep.name}}</p>
            <div class="list-item" ng-repeat="item in dep.children track by item.id" on-long-press="groupusers.confirmdel(item.id)">
                <div class="btn-delete c1 tc" ng-click="groupusers.confirmdel(item.id)" ng-if="curUID!=item.id"></div>
                <label class="celled flex lh50" ng-click="groupusers.goDetail(item)">
                    <div class="list-item-userpic w25">
                        <div class="item-avtar tc"><img err-src="images/404.png" ng-src={{item.iconCls|avtarfilter}} alt="" ng-if="item.iconCls">{{(item.name| username)}}</div>
                    </div>
                    <div class="list-item-content w75 cl">
                        <div class="list-item-title fw fl">{{item.name}} ({{item.text}})</div>
                    </div>
                </label>
            </div>
        </div>
    </div>
</div>